﻿#ifndef VIDEOFILTER_H
#define VIDEOFILTER_H

#include <QThread>
#include <QDebug>
#include "header.h"

class VideoFilter : public QThread
{
public:
    VideoFilter();
    ~VideoFilter();

    //运行状态
    void setRunState(bool start);

    //参数设置
    void setVideoParm(int width, int height, const QString &path);

protected:
    void run();

private:
    volatile bool isRun;

    int videoWidth;
    int videoHeight;
    QString filePath;
};

#endif // VIDEOFILTER_H
